package org.jeecg.modules.cosmetic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 宣称审核结果表
 * </p>
 *
 * @author liqing
 * @since 2023-03-16
 */
@Data
@TableName("t_package_result")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TPackagResult对象", description = "宣称审核结果表")
public class TPackageResult implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("包装审核表ID")
    private Long audId;

    @ApiModelProperty("风险等级；1代表违禁词，2代表高风险，3代表低风险，4代表类别")
    private Integer level;

    @ApiModelProperty("风险等级对应的文案信息，包括违禁词，高/低风险词，和功效词")
    private String words;

    @ApiModelProperty("合规建议/评价建议")
    private String advice;

    @ApiModelProperty("涉及功效")
    private String efficacy;

    @ApiModelProperty("创建时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date updateTime;


}
